const express = require('express');

const app = express();

app.get('/data', (req, res) => {
    let test = {
        name: '越祈',
        age: '18',
    };
    res.json(test)
})

app.listen(7000, () => {
    console.log('node is listening on 7000')
})